package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/23
*/
@Data
@ApiModel("问诊长期用药与长期症状")
@Table(name = "tbl_booking_long_term")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingLongTerm extends BaseEntity {
    @Column(name = "booking_id")
    private String bookingId;

    /**
     * Todo 确认condition从哪儿来
     */
    @Column(name = "condition_id")
    @ApiModelProperty("Todo 确认condition从哪儿来")
    private String conditionId;

    @Column(name = "condition_name")
    private String conditionName;

    /**
     * 0condition 1medication
     */
    @Column(name = "longterm_type")
    @ApiModelProperty("0condition 1medication")
    private Integer longtermType;

    /**
     * 药物productId
     */
    @Column(name = "medication_id")
    @ApiModelProperty("药物productId")
    private String medicationId;

    @Column(name = "medication_name")
    private String medicationName;

    @Column(name = "treated_since")
    private Date treatedSince;

    private String notes;
}